import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const phone = {
  path: "/",
  component: () => import("@/views/index-phone.vue"),
  meta: { pagetitle: "春之樱日语" }
};

const routes = [phone];

const router = new VueRouter({
  routes,
  mode: "history",
  base: "/learn"
});

export default router;
